package com.library.bean;
/*
 *
 *   @Author:max
 *   @Date: 2023/10/8-10-08-18:54
 *
 */

import java.util.List;

public class Publisher {
    private int publisherId;

    private String publisherName;

    private String place;

    private List<Book> bookList;

    private List<Writer> writerList;



    public int getPublisherId() {
        return publisherId;
    }

    public void setPublisherId(int publisherId) {
        this.publisherId = publisherId;
    }

    public String getPublisherName() {
        return publisherName;
    }

    public void setPublisherName(String publisherName) {
        this.publisherName = publisherName;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Publisher() {

    }

    public List<Book> getBookList() {
        return bookList;
    }

    public void setBookList(List<Book> bookList) {
        this.bookList = bookList;
    }

    public List<Writer> getWriterList() {
        return writerList;
    }

    public void setWriterList(List<Writer> writerList) {
        this.writerList = writerList;
    }

    @Override
    public String
    toString() {
        return "Publisher{" +
                "publisherId=" + publisherId +
                ", publisherName='" + publisherName + '\'' +
                ", place='" + place + '\'' +
                '}';
    }
}
